
export default {
  data() {
    return {

    }
  },
  created() {

  },
  methods: {
    errorDialog(v) {
      this.$notify.error({
        title: '错误',
        message: v
      })
    },
    warningDialog(v) {
      this.$notify({
        title: '警告',
        message: v,
        type: 'warning'
      })
    },
    successDialog(v) {
      this.$notify({
        title: '成功',
        message: v,
        type: 'success'
      })
    }
  }
}
